home *** CD-ROM | disk | FTP | other *** search
- <%@ Language=VBScript CODEPAGE=65001 %>
- <!--#include file="include/wmsConstants.inc"-->
- <!--#include file="include/wmsLocStrings.inc"-->
- <!--#include file="include/wmsCommon.inc"-->
- <!--#include file="include/wmsHeader.inc"-->
- <!--#include file="include/wmsServerHash.inc"-->
- <!--#include file="include/wmsconnect.inc"-->
- <!--#include file="include/wmsToolbar.inc"-->
- <!--#include file="include/wmsHelp.inc"-->
- <!--#include file="include/wmsError.inc"-->
- <!--#include file="include/wmsPageBanner.inc"-->
- <!--#include file="include/wmsTabs.inc"-->
- <%
- '+-------------------------------------------------------------------------
- '
- ' Microsoft Windows Media
- ' Copyright (C) Microsoft Corporation. All rights reserved.
- '
- ' File: Server_Ads.asp
- '
- ' Contents:
- '
- '--------------------------------------------------------------------------
-
- ConnectToServer
- BeginErrorHandling
-
- WriteHTMLHeader( g_strDecodedServerName )
- %><link rel="stylesheet" type="text/css" href="<%= Session( "cssName" ) %>">
- <script language="JavaScript" src="include/WMSCommon.js"></script>
- <script language="JavaScript">
- <!--
- /*@cc_on @*/
- //////////////////////////////////////////////////////////////////////////
- function OpenPartnerWindow( szUrl, szWinName )
- {
- <% jsTRY %>
- var win = null;
- var szFeatures;
-
- szFeatures = "resizable,scrollbars=yes,dependent=no,scroll=yes,location=yes,menubar=yes";
- win = window.open( szUrl, szWinName, szFeatures, true );
- if( ! win )
- {
- win = window.open( szUrl, szWinName, szFeatures, true );
- }
-
- if( win )
- {
- win.focus();
- }
- <% jsCATCH %>
- }
- <% WriteCommonJSUtils %>
- -->
- </script>
- </head>
- <body topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0" oncontextmenu="JavaScript:event.cancelBubble=true;return false;">
- <%
- ' Draw the page banner and tabs
- DrawServerNameBanner L_ADSTABTITLE_TEXT
- %>
- <br>
- <table bgcolor="#FFFFFF" width="100%" cellspacing="5" cellpadding="5" border="0" ID="Table1">
- <tr>
- <td>
- <span class="header"><%= Server.HTMLEncode( L_WEBRESOURCES_TEXT ) %> </span>
- <table width="85%" cellspacing=0 cellpadding=0 border=1 ID="Table2">
- <tr>
- <td>
- <table width="100%" cellspacing="2" cellpadding="2" align="left" border="0">
- <tr>
- <td valign="top" align="left" width="32">
- <img src="img/web_resources.gif" border="0">
- </td>
- <td align="left">
- <table width="100%" cellspacing="5" cellpadding="5" border="0" align="left">
- <tr>
- <td align="left">
- <a tabIndex=<%= dwTabIndex %> <% dwTabIndex = dwTabIndex + 1 %> href="JavaScript:OpenPartnerWindow( '<%= Server.HTMLEncode( L_ADSPARTNER_TEXT ) %>', 'tPartner4' );" oncontextmenu="JavaScript:event.cancelBubble=true;return false;"><b><%= Server.HTMLEncode( L_FINDADSPART_TEXT ) %></b></a>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <table width=100% border="0">
- <tr>
- <td>
- <%
- dwLastToolbarIndex = 0
-
- if( TRUE = Session( "ShowServerList" ) ) then
- ToolbarButtonText ( dwLastToolbarIndex ) = L_BUTTONRETURNTOSERVERLIST_TEXT
- ToolbarButtonImage( dwLastToolbarIndex ) = IMAGE_SERVERLIST
- ToolbarButtonLink ( dwLastToolbarIndex ) = SERVERSLIST_PATH
- ToolbarButtonAltText( dwLastToolbarIndex ) = L_RETURNTOSL_TEXT
- dwLastToolbarIndex = dwLastToolbarIndex + 1
- end if
-
- ' ToolbarButtonText ( dwLastToolbarIndex ) = L_BUTTONHELP_TEXT
- ' ToolbarButtonImage( dwLastToolbarIndex ) = IMAGE_HELP
- ' ToolbarButtonLink ( dwLastToolbarIndex ) = HELPTOKEN
- ' ToolbarButtonAltText( dwLastToolbarIndex ) = L_HELPALT_TEXT
- ' ToolbarHelpURL = H_SERVERADSHELPTOPIC
- ' ToolbarNesting = H_SERVERLEVEL
-
- if( dwLastToolbarIndex > 0 ) then
- DrawToolbar FALSE, ( dwLastToolbarIndex )
- end if
- %>
- </td>
- </tr>
- </table>
- <%
- DrawCopyrightInfo
- DrawStdFooter
- %>
- </body>
- </html>
- <%
- LatchCurrentPage "server_ads.asp", qs
- EndErrorHandling( "server_ads.asp" )
-
- on error resume next
- WMSServerHashASPCleanup
- WMSConnectASPCleanup
- %>
-